<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>条件渲染</title>
    <script src="../js/vue.js"></script>
</head>
<body>
<div id="root">
    <h1>条件渲染学习</h1>
    <h2 v-show="awesome">条件渲染1;awesom的值:{{awesome}}</h2>

    <h2 v-show="awesome==false">条件渲染2;awesom的值:{{awesome}}</h2>

</div>
</body>
<script type="application/javascript">
    new Vue({
        el: '#root',
        data:{
            awesome: false
        }
    })
</script>
</html>
